using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public static class G
{
    public static void F<T>(ref T t, string str)
        => t = GameObject.Find(str).GetComponent<T>();
}

public static class PP
{
    public static int I(string str)
        => PlayerPrefs.GetInt(str);

    public static void I(string str, int i)
        => PlayerPrefs.SetInt(str, i);

    public static float F(string str)
        => PlayerPrefs.GetFloat(str);

    public static void F(string str, float f)
        => PlayerPrefs.SetFloat(str, f);

}
